﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TrangChu.Master" AutoEventWireup="true"
    CodeBehind="ThongTinTaiKhoan.aspx.cs" Inherits="Airplane.ThongTinTaiKhoan" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div>
        <br />
        <asp:Label ID="lbThongTin" runat="server" Text="" ForeColor="Red" Font-Size="Larger"></asp:Label>
    </div>
    <table width="95%" frame="border">
        <tr>
            <td valign="top" width="200px" bgcolor="#ff9900">
                <asp:Panel ID="Panel1" runat="server" BackColor="#ff9933" Height="90%" Width="100%"
                    ForeColor="#0066ff">
                </asp:Panel>
                <br />
                <br />
                <div>
                    <asp:LinkButton ID="LinkButton1" ForeColor="Blue" Font-Underline="false" runat="server"
                        OnClick="LinkButton1_Click">* Thông tin tài khoản</asp:LinkButton>
                </div>
                <br />
                <div>
                    <asp:LinkButton ID="LinkButton2" ForeColor="Blue" Font-Underline="false" runat="server"
                        OnClick="LinkButton2_Click">* Thay đổi mật khẩu </asp:LinkButton>
                </div>
                <br />
                <div>
                    <asp:LinkButton ID="LinkButton3" ForeColor="Blue" Font-Underline="false" runat="server"
                        OnClick="LinkButton3_Click">* Đăng xuất</asp:LinkButton>
                </div>
            </td>
            <td>
                <div style="color: #40698F">
                    <asp:Panel ID="PanelDoiMatKhau" runat="server">
                        <div style="text-align: center;">
                            <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#FF3300"
                                Text="Đổi mật khẩu"></asp:Label>
                            <br />
                        </div>
                        <div style="color: #40698F;">
                            <br />
                        <table width="95%">
                                <tr>
                                    <td class="style2">
                                        Mật khẩu cũ
                                    </td>
                                    <td class="style4" align="left">
                                        <asp:TextBox ID="txtMatKhauCu" runat="server" Width="200px" Height="20px" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Chưa nhập mật khẩu cũ"
                                            ControlToValidate="txtMatKhauCu"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style2">
                                        Mật khẩu
                                    </td>
                                    <td class="style4" align="left">
                                        <asp:TextBox ID="txtMatKhau" runat="server" Width="200px" Height="20px" TextMode="Password"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style2">
                                        Nhắc lại Mật khẩu
                                    </td>
                                    <td class="style4" align="left">
                                        <asp:TextBox ID="txtNhacLai" runat="server" Width="200px" Height="20px" CausesValidation="True"
                                            TextMode="Password"></asp:TextBox>
                                        <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Mật khẩu chưa khớp"
                                            ControlToCompare="txtMatKhau" ControlToValidate="txtNhacLai"></asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style2">
                                    </td>
                                    <td class="style4">
                                        <asp:Button ID="btnDoiMatKhau" runat="server" Text="Đổi mật khẩu" Width="100px" Height="30px"
                                            OnClick="btnDoiMatKhau_Click" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="text-align: center;">
                                        <asp:Label ID="lbDoiMatKhau" runat="server" ForeColor="Red" Font-Size="Large" Text=""></asp:Label>
                                    </td>
                                </tr>

    </table>
                        </div>  
                    </asp:Panel>
                </div> 
    <asp:Panel ID="pnCapNhat" runat="server" Width="100%" ForeColor="#0000ff" BackColor="#99ccff">
        <div style="text-align: center;">
            <asp:Label runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#FF3300"
                Text="Thông tin tài khoản"></asp:Label>
            <br />
        </div>
        <div style="color: #40698F;">
            <br />
            <table width="95%">
                <tr style="height: 30px">
                    <td align="center" colspan="2" style="font-family: Arial, Helvetica, sans-serif;
                        font-size: large; color: #FF0000">
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Tên tài khoản
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtTenTaiKhoan" runat="server" Width="200px" Height="20px" ReadOnly="True"></asp:TextBox>
                        <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Chưa nhập tài khoản" ControlToValidate="txtTenTaiKhoan" ForeColor="Red"></asp:RequiredFieldValidator>--%>
                    </td>
                </tr>
                <tr>
                    <td>
                        Họ Tên
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtHoTen" runat="server" Width="200px" Height="20px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Giới tính
                    </td>
                    <td class="style4" align="left">
                        <asp:RadioButton ID="rdbNam" runat="server" GroupName="GioiTinh" Checked="True" Text="Nam" />
                        <asp:RadioButton ID="rdbNu" GroupName="GioiTinh" runat="server" Text="Nữ" />
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Địa chỉ
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtDiaChi" runat="server" Width="200px" Height="20px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Ngày sinh
                    </td>
                    <td class="style4" align="left" valign="top">
                        <asp:TextBox ID="txtNgaySinh" runat="server" Height="20px" AutoPostBack="false"></asp:TextBox>
                        <asp:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="txtNgaySinh">
                        </asp:CalendarExtender>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Email
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtemail" runat="server" Width="200px" Height="20px"></asp:TextBox>
                        <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Chưa nhập Email" ForeColor="Red" ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Email Chưa Đúng" ForeColor="Red" ControlToValidate="txtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>--%>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Điện thoại
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtDienThoai" runat="server" Width="200px" Height="20px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style5">
                        Số giấy tờ tùy thân
                    </td>
                    <td class="style6" align="left">
                        <asp:TextBox ID="txtSoGiayToTuyThan" runat="server" Width="200px" Height="20px"></asp:TextBox>
                        <%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Chưa nhập giấy tờ" ForeColor="Red" ControlToValidate="txtSoGiayToTuyThan"></asp:RequiredFieldValidator>--%>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Loại Giấy Tờ Tùy Thân
                    </td>
                    <td class="style4" align="left">
                        <asp:DropDownList ID="ddlGiayTo" runat="server">
                            <asp:ListItem Value="CMND" Selected="True">CMND</asp:ListItem>
                            <asp:ListItem Value="HoChieu">Hộ Chiếu</asp:ListItem>
                            <asp:ListItem Value="GiayKhaiSinh">Giấy Khai Sinh</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Ngày cấp
                    </td>
                    <td class="style4" align="left" valign="top">
                        <asp:ScriptManager ID="ScriptManager1" runat="server">
                        </asp:ScriptManager>
                        <asp:TextBox ID="txtNgayCap" runat="server"></asp:TextBox>
                        <asp:CalendarExtender ID="CalendarExtender1" TargetControlID="txtNgayCap" runat="server">
                        </asp:CalendarExtender>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Nước phát hành
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtNuocPhatHanh" runat="server" Width="200px" Height="20px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Quốc tịch
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtQuocTich" runat="server" Width="200px" Height="20px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Email phục hồi
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtEmailPhucHoi" runat="server" Width="200px" Height="20px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Số CreditCard
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtCredit" runat="server" Width="200px" Height="20px"></asp:TextBox>
                        <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Chưa nhập Credit" ForeColor="Red" ControlToValidate="txtCredit"></asp:RequiredFieldValidator>--%>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Loại Credit
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtLoaiCredit" runat="server" Width="200px" Height="20px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Ngày hết hạn
                    </td>
                    <td class="style4" align="left">
                        <asp:TextBox ID="txtNgayHetHan" runat="server" Height="20px"></asp:TextBox>
                        <asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtNgayHetHan">
                        </asp:CalendarExtender>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                    </td>
                    <td class="style4">
                        <asp:Button ID="btnDangKy" runat="server" Text="Cập nhật" Width="100px" Height="30px"
                            OnClick="btnCapNhat_Click" />
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                    </td>
                    <td class="style4">
                        <asp:Label ID="lbCapNhat" runat="server" ForeColor="Blue"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </asp:Panel>
    </td> </tr> </table>
</asp:Content>
